package com.ocom.common.entity.human;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "dept_info")
public class EntityDeptInfo extends EntityBase implements Serializable {
    @TableId(value = "dept_id", type = IdType.AUTO)
    private Long deptId;
    private Long comId;
    private Long deptNo;
    private String deptName;
    private Long grade;
    private Long parentDeptId;
    private String remark;
    private Integer deptType;
    @TableField(exist = false)
    private String parentDeptIds;
    private String orgin;
}
